home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8999 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.0 KB

  1. Path: news.crystalball.com!news
  2. From: Larry Weiss <lfw@oc.com>
  3. Newsgroups: comp.lang.ada,comp.lang.c++
  4. Subject: Re: C/C++ knocks the crap out of Ada
  5. Date: Tue, 27 Feb 1996 14:24:57 -0600
  6. Organization: crystalball.com
  7. Message-ID: <31336899.6DBC@oc.com>
  8. References: <00001a73+00002504@msn.com> <4etcmm$lpd@nova.dimensional.com>   <312515DF.7D3B@cmlj.demon.co.uk> <4gad29$ddp@druid.borland.com> <4ggshe$7bk@goanna.cs.rmit.EDU.AU> <4gmp2o$ian@ux1.lmu.edu> <312FDB27.4B83@inav.net> <4gvhf3$rgg@druid.borland.com>
  9. NNTP-Posting-Host: external.oc.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (Win16; I)
  14.  
  15. Pete Becker wrote:
  16.  > 
  17.  > In article <312FDB27.4B83@inav.net>, rainbow@inav.net says...
  18.  > >
  19.  > >Ray Toal wrote:
  20.  > >>
  21.  > >> ok@goanna.cs.rmit.EDU.AU (Richard A. O'Keefe) wrote:
  22.  > >>
  23.  > >> >(4) C++ in particular has been changing very rapidly.  It seems as if
  24.  > every
  25.  > >> >    time I turn around there is a new keyword.
  26.  > >
  27.  > >What is the status of the plain/ordinary/but very noticably forgotten
  28.  > boolean?
  29.  > >
  30.  > >It seems that the biggest difficutly that run into is that everybody
  31.  > needs/wants to
  32.  > >declare a new version (and they are not all compatible!).  Because C/C++ were
  33.  > never
  34.  > >polite enough to provide it to begin with (0 or non-zero is hardly a good
  35.  > substitute)
  36.  > >we end up either creating the (ITEM, NON_ITEM) form, create yet another
  37.  > version
  38.  > >(my latest is BooleaN, { FalsE, TruE } ).  I think I remember something about
  39.  > >BOOL in one of the C or C++ stds.  Which compilers use it?  (Borland does
  40.  > not,
  41.  > >at least thru 4.0).
  42.  > >
  43.  > >As you can tell from the tone of this post, I would be much happier to have a
  44.  > language
  45.  > >that provides a few comforts and niceties, i.e., Ada, but I haven't yet been
  46.  > able to
  47.  > >convince my cohorts and managers to come along.
  48.  > 
  49.  > BOOL is a Windowsism. It's a typedef for an int. C++ has a type bool, which is
  50.  > supported in BC++ 5.0.
  51.  >         -- Pete
  52.